package com.suse.lhw.domin;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.hms.foodserver.domin
 * @ClassName: FFoodmodel
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/4/26 11:25
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/4/26 11:25
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class FFoodmodel {
    private Integer fmId;

    /**
     * 状态，如可用1，不可用0
     */
    private Integer satus;

    private String name;

    private Integer fmCategory;

    /**
     * 食物图片地址
     */
    private String imgurl;

    /**
     * 食物信息id
     */
    private Integer fmsgId;

    /**
     * 描述
     */
    private String description;

    /**
     * 备用
     */
    private String userId;

    /**
     * 备用
     */
    private String spare2;

    /**
     * 备用
     */
    private String spare3;


    public FFoodmodel(String imgurl, String fmdescription, String name, int defaut, Integer id) {
        this.imgurl = imgurl;
        this.fmsgId = id;
        this.name = name;
        this.satus = defaut;
        this.description = fmdescription;
    }

    public FFoodmodel(int satus, int fm_category, String imgurl, int fmsg_id, String descroption) {
        this.satus = satus;
        this.fmCategory = fm_category;
        this.imgurl = imgurl;
        this.fmsgId = fmsg_id;
        this.description = descroption;
    }
}